package com.zhuang.chapter03;

public class Student2 {
	
	private String name;
	
	private int Chinese;
	
	private int Math;
	
	private int English;


	public Student2(String name, int chinese, int math, int english) {
		super();
		this.name = name;
		Chinese = chinese;
		Math = math;
		English = english;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getChinese() {
		return Chinese;
	}

	public void setChinese(int chinese) {
		Chinese = chinese;
	}

	public int getMath() {
		return Math;
	}

	public void setMath(int math) {
		Math = math;
	}

	public int getEnglish() {
		return English;
	}

	public void setEnglish(int english) {
		English = english;
	}

	@Override
	public String toString() {
		return "Student2 [name=" + name + ", Chinese=" + Chinese + ", Math=" + Math + ", English=" + English + "]";
	}
	
	
}
